<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<%@ include file="/common/taglibs.jsp" %>
<html>
<head>
    <meta charset="utf-8">
    <title>矿机类型管理</title>

</head>
<style>
    /**内容超出 出现滚动条 **/
    .bui-stdmod-body {
        overflow-x: hidden;
        overflow-y: auto;
    }

</style>
<body>
<%@ include file="/common/head.builive.inc.jsp" %>
<div class="demo-content">
    <div class="row">
        <div class="span24">
            <form id="machineTypeSearchForm" class="form-horizontal" tabindex="0" style="outline: none;">
                <div class="row">
                    <div class="control-group span8">
                        <label class="control-label">矿机类型：</label>
                        <div class="controls">
                            <input type="text" name="name" class="control-text">
                        </div>
                    </div>
                    <div class="control-group span8">
                        <label class="control-label">显卡：</label>
                        <div class="controls">
                            <input type="text" name="graphics" class="control-text">
                        </div>
                    </div>
                    <div class="form-actions span2">
                        <button id="btnSearch" type="submit" class="button button-primary">搜索</button>
                    </div>
                </div>

            </form>

        </div>
    </div>
    <div class="search-grid-container">
        <div id="machineTypeGrid">
        </div>
    </div>
</div>
<!-- 此节点内部的内容会在弹出框内显示,默认隐藏此节点-->

<div id="machineTypeEditFormDialogContent" style="display: none;">
    <form id="machineTypeEditForm" class="form-horizontal ">
        <div class="row">
            <div class="control-group span14">
                <label class="control-label">矿机类型名称：</label>
                <input type="hidden" name="id"/>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{required : true}{maxlength:100}"
                           name="name">
                </div>
            </div>
            <div class="control-group span14">
                <label class="control-label">显卡：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{required : true}{maxlength:100}"
                           name="graphics">
                </div>
            </div>
            <div class="control-group span14">
                <label class="control-label">显卡数量：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{number : true} {required : true}{min:1}"
                           name="graphicsNum">
                </div>
            </div>
            <div class="control-group span14">
                <label class="control-label">算力：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{required : true}{maxlength:100}"
                           name="computingPower">
                </div>
            </div>
            <div class="control-group span14">
                <label class="control-label">电费：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{required : true}{maxlength:100}"
                           name="electricityFee">
                </div>
            </div>
            <div class="control-group span14">
                <label class="control-label">额定功率：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{required : true}{maxlength:100}"
                           name="ratedPower">
                </div>
            </div>
             <div class="control-group span14">
                <label class="control-label">备注：</label>
                <div class="controls">
                    <input type="text" class="input-normal control-text"
                           data-rules="{maxlength:200}"
                           name="remark">
                </div>
            </div>
        </div>
    </form>

</div>
<script src="js/machineType.js"></script>
</body>
</html>